﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RBAC.Domain.SmartHealthcare.Hosiptial
{
    /// <summary>
    /// 住院登记表
    /// </summary>
    public class InpatientRegistryModel : BaseEntity
    {
        /// <summary>
        /// 病人卡号
        /// </summary>
        public string MedicalCard { get; set; }
        /// <summary>
        /// 科室id （外键）
        /// </summary>
        public long DepartmentId { get; set; }
        /// <summary>
        /// 病房id（外键）
        /// </summary>
        public long WardNo { get; set; }
        /// <summary>
        /// 病床id（外键）
        /// </summary>
        public long WardId { get; set; }
        /// <summary>
        /// 预交费
        /// </summary>
        public decimal AdvancePayment { get; set; }
        /// <summary>
        /// 病情描述
        /// </summary>
        public string DiseaseDescription { get; set; }
        /// <summary>
        /// 药物禁忌
        /// </summary>
        public string DrugContraindications { get; set; }
        /// <summary>
        /// 入院时间
        /// </summary>
        public DateTime AdmissionTime { get; set; } = DateTime.Now;


        /// <summary>
        /// 出院状态 (true:已出院 false:未出院)
        /// </summary>
        public bool Discharge_status { get; set; }
    }
}
